Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade PHPStan to 1.12.12 #1384

Merged

Conversation

jchaffraix
Copy link
Collaborator

PHPStan was upgraded to 2.0 in November, but we're not ready to upgrade as it detects a lot of new errors.
That said our first step is to upgrade to the latest 1.x.x release, per:
https://github.com/phpstan/phpstan/blob/2.0.x/UPGRADING.md

There is one upside to this upgrade, which is to be able to disable errors using their identifier (added in 1.11).

Also it seems like a low-value error was removed from L5, so removed it from our configuration file.

PHPStan was upgraded to 2.0 in November, but we're not ready
to upgrade as it detects a lot of new errors.
That said our first step is to upgrade to the latest 1.x.x
release, per:
https://github.com/phpstan/phpstan/blob/2.0.x/UPGRADING.md

There is one upside to this upgrade, which is to be able to
disable errors using their identifier (added in 1.11).

Also it seems like a low-value error was removed from L5,
so removed it from our configuration file.
@jchaffraix jchaffraix marked this pull request as ready for review December 8, 2024 00:39
@cpeel cpeel merged commit d1a742a into DistributedProofreaders:master Dec 8, 2024
12 checks passed
@jchaffraix jchaffraix deleted the julien_upgrade_phpstan branch December 17, 2024 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants